package com.wxb.hello.auth.beans;

import com.cincc.boot.common.base.GenericVo;

/**
 * @author 王校兵
 * @version V1.0
 * @date 2017-06-01
 */
public class LoginLog implements GenericVo {
    private Integer pkId;

    private String userName;

    private String loginIp;

    private String loginTime;

    private String loginDevice;

    private String loginInfo;

    public LoginLog() {
    }

    public LoginLog(String userName, String loginIp, String loginTime, String loginDevice, String loginInfo) {
        this.userName = userName;
        this.loginIp = loginIp;
        this.loginTime = loginTime;
        this.loginDevice = loginDevice;
        this.loginInfo = loginInfo;
    }

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginDevice() {
        return loginDevice;
    }

    public void setLoginDevice(String loginDevice) {
        this.loginDevice = loginDevice;
    }

    public String getLoginInfo() {
        return loginInfo;
    }

    public void setLoginInfo(String loginInfo) {
        this.loginInfo = loginInfo;
    }

    @Override
    public Integer getOid() {
        return this.pkId;
    }

    @Override
    public void setOid(Object oid) {
        this.pkId = (Integer) oid;
    }

}